<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%> 
<%@ Assembly Name="EAT.ExternalCollaboration, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0d1f4e6fe605dcca" %>
<%@ Page Language="C#" Inherits="EAT.ExternalCollaboration.LoginPage" MasterPageFile="~/_layouts/simple.master"%> 
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Import Namespace="EAT.ExternalCollaboration" %>

<asp:content ID="Content1" contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server">
<script runat="server">
</script>

</asp:content>

<asp:Content ID="Content2" ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral4" runat="server" text="<%$Resources:wss,login_pagetitle%>" EncodeMethod='HtmlEncode'/>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderId="PlaceHolderTitleBreadcrumb" runat="server">
&nbsp;
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral5" runat="server" text="<%$Resources:ExternalCollaboration,loginPageTitleInTitleArea%>" EncodeMethod='HtmlEncode'/>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderId="PlaceHolderSiteName" runat="server"/>
<asp:Content ID="Content6" ContentPlaceHolderId="PlaceHolderMain" runat="server">
 <asp:Label ID=lblLogin runat="server"></asp:Label>
 <asp:login id="LoginControl" 
            OnLoggedIn="VerifySecurityProfile"
            FailureText="<%$Resources:ExternalCollaboration,loginFailureText%>" 
            runat=server 
            width="100%" BackColor="#EFF3FB" BorderColor="#B5C7DE" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#333333" PasswordRecoveryText="Forgot your password?" PasswordRecoveryUrl="/_layouts/ExternalCollaboration/PasswordReset.aspx" 
            >
     <TitleTextStyle BackColor="#507CD1" Font-Bold="True" Font-Size="0.9em" ForeColor="White" />
     <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
     <TextBoxStyle Font-Size="0.8em" />
     <LoginButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px"
         Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
     <LayoutTemplate>
         <table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse">
             <tr>
                 <td>
                     <table border="0" cellpadding="0" style="width: 100%">
                         <tr>
                             <td align="center" colspan="2" style="font-weight: bold; font-size: 0.9em; color: white;
                                 background-color: #507cd1">
                                 <asp:literal runat="server" Text="<%$Resources:ExternalCollaboration,loginSectionHeader%>" /></td>
                         </tr>
                         <tr>
                             <td align="left">
                                 <asp:Label width=15 ID="UserNameLabel" runat="server" AssociatedControlID="UserName"><asp:literal runat="server" Text="<%$Resources:ExternalCollaboration,loginUserNameLabel%>" /></asp:Label></td>
                             <td>
                                 <asp:TextBox ID="UserName" runat="server" Font-Size="0.8em"></asp:TextBox>
                                 <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                     ErrorMessage="<%$Resources:ExternalCollaboration,loginUserNameErrorMsg%>" ToolTip="<%$Resources:ExternalCollaboration,loginUserNameToolTip%>" ValidationGroup="LoginControl">*</asp:RequiredFieldValidator>
                             </td>
                         </tr>
                         <tr>
                             <td align="left">
                                 <asp:Label width=15 ID="PasswordLabel" runat="server" AssociatedControlID="Password"><asp:literal runat="server" Text="<%$Resources:ExternalCollaboration,loginPasswordLabel%>" /></asp:Label></td>
                             <td>
                                 <asp:TextBox ID="Password" runat="server" Font-Size="0.8em" TextMode="Password"></asp:TextBox>
                                 <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                     ErrorMessage="<%$Resources:ExternalCollaboration,loginPasswordErrorMsg%>" ToolTip="<%$Resources:ExternalCollaboration,loginPasswordToolTip%>" ValidationGroup="LoginControl">*</asp:RequiredFieldValidator>
                             </td>
                         </tr>
                         <tr>
                             <td colspan="2">
                                 <asp:CheckBox ID="RememberMe" runat="server" Text="<%$Resources:ExternalCollaboration,loginRememberMeLabel%>" />
                             </td>
                         </tr>
                         <tr>
                             <td align="left" colspan="2" style="color: red">
                                 &nbsp;<asp:Button ID="LoginButton" runat="server" BackColor="White" BorderColor="#507CD1"
                                     BorderStyle="Solid" BorderWidth="1px" CommandName="Login" Font-Names="Verdana"
                                     Font-Size="0.8em" ForeColor="#284E98" Text="<%$Resources:ExternalCollaboration,loginButtonText%>" ValidationGroup="LoginControl" /></td>
                         </tr>
                         <tr>
                             <td colspan="2">
                             </td>
                         </tr>
                     </table>
                    
                 </td>
             </tr>
         </table>
         <table>
            <tr>
                <td align="right" colspan="2">
                <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>&nbsp;
                </td>
            </tr>
         </table>
         
     </LayoutTemplate>
 </asp:login>
<asp:HyperLink ID="hlPasswordRecovery" Text="<%$Resources:ExternalCollaboration,loginForgotYourPasswordLabel%>" runat="server"  Visible="false" NavigateUrl="/_layouts/ExternalCollaboration/PasswordReset.aspx"/>
</asp:Content>